package top.hg.tool.modules.car.bidding;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @Author: skh
 * @Date: 2019/7/16 10:57
 * @Description: 竞价详情
 */
@TableName("tb_bidding")
@Data
public class BiddingEntity implements Serializable {

    @TableId
    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("竞价期数")
    @NotNull
    private String periods;

    @ApiModelProperty("最低成交价")
    @NotNull
    private Integer minPrice;

    @ApiModelProperty("平均成交价")
    @NotNull
    private Integer averagePrice;

    @ApiModelProperty("类型 1:个人 2:单位")
    @NotNull
    private Integer type;

    @ApiModelProperty("期号")
    @NotNull
    private Integer issue;

    @ApiModelProperty("创建时间")
    private Date createTime;


}
